import {Component} from '@angular/core';
import {LoggerServer} from './../logger-service';
@Component({
selector:".root-component",
templateUrl:'./index.html',
styleUrls: ['./../app.component.css'],
providers: [LoggerServer]
})
class RootComponent {
   title  = "Angular APP ";
   constructor(private logger: LoggerServer) { }
   list = [];
  dothing(){
  this.list = this.logger.warn();
   
}

export {RootComponent}